import React, { Component } from 'react'
import { BrowserRouter, Route, Link } from "react-router-dom";
import 'antd/dist/antd.css';
import './App.css'

import ShouldUpdatePage from './pages/shouldUpdate';

class App extends Component {
    render() {
        return (
            <BrowserRouter>
                <div>
                    <ul>
                        <li>
                            <Link to="/ShouldUpdatePage">ShouldUpdatePage</Link>
                        </li>
                    </ul>
                    <hr />
                    <Route path="/ShouldUpdatePage" render={() => <ShouldUpdatePage />} />
                </div>
            </BrowserRouter>
        )
    }
}

export default App;
